package tech.aistar.entity;

import java.io.Serializable;
import java.util.Date;


public class Demand implements Serializable {

    private Integer id;

    private Integer userinfoId;

    private Integer categoryId;

    private Integer categorydetailId;

    private String title;

    private Integer pictureId;

    private String path;

    private String phone;

    private String province;

    private String city;

    private String area;

    private Float price;

    private String chargetype;

    private Integer count;

    private String intro;

    private Integer status;

    private String beginTime;

    private String endTime;

    private Integer push;

    public Demand() {
    }

    public Demand(Integer id, Integer userinfoId, Integer categoryId, Integer categorydetailId, String title, Integer pictureId, String path, String phone, String province, String city, String area, Float price, String chargetype, Integer count, String intro, Integer status, String beginTime, String endTime, Integer push) {
        this.id = id;
        this.userinfoId = userinfoId;
        this.categoryId = categoryId;
        this.categorydetailId = categorydetailId;
        this.title = title;
        this.pictureId = pictureId;
        this.path = path;
        this.phone = phone;
        this.province = province;
        this.city = city;
        this.area = area;
        this.price = price;
        this.chargetype = chargetype;
        this.count = count;
        this.intro = intro;
        this.status = status;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.push = push;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getCategorydetailId() {
        return categorydetailId;
    }

    public void setCategorydetailId(Integer categorydetailId) {
        this.categorydetailId = categorydetailId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getPictureId() {
        return pictureId;
    }

    public void setPictureId(Integer pictureId) {
        this.pictureId = pictureId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getChargetype() {
        return chargetype;
    }

    public void setChargetype(String chargetype) {
        this.chargetype = chargetype;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getPush() {
        return push;
    }

    public void setPush(Integer push) {
        this.push = push;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Demand{");
        sb.append("id=").append(id);
        sb.append(", userinfoId=").append(userinfoId);
        sb.append(", categoryId=").append(categoryId);
        sb.append(", categorydetailId=").append(categorydetailId);
        sb.append(", title='").append(title).append('\'');
        sb.append(", pictureId=").append(pictureId);
        sb.append(", path='").append(path).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", province='").append(province).append('\'');
        sb.append(", city='").append(city).append('\'');
        sb.append(", area='").append(area).append('\'');
        sb.append(", price=").append(price);
        sb.append(", chargetype='").append(chargetype).append('\'');
        sb.append(", count=").append(count);
        sb.append(", intro='").append(intro).append('\'');
        sb.append(", status=").append(status);
        sb.append(", beginTime='").append(beginTime).append('\'');
        sb.append(", endTime='").append(endTime).append('\'');
        sb.append(", push=").append(push);
        sb.append('}');
        return sb.toString();
    }
}